package com.budayi.service.impl;



import com.budayi.common.mapper.BaseMapper;
import com.budayi.common.service.impl.CoreServiceImpl;
import com.budayi.entity.SysUser;
import com.budayi.service.SysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author mac
 */
@Service
public class SysUserServiceImpl extends CoreServiceImpl<SysUser> implements SysUserService {


    @Autowired(required = false)
    public SysUserServiceImpl(BaseMapper<SysUser> sysUserMapper) {
        super(sysUserMapper,SysUser.class);
    }


    @Override
    public SysUser queryObjectByPrimaryKey(Object id) {
        SysUser sysUser = super.queryObjectByPrimaryKey(id);
        sysUser.setEmail("1111111");
        sysUser.setPassword("1121212121");
        return sysUser;
    }
}

